# -*- coding: utf-8 -*-
# @Time    : 2021/9/13 22:33
# @Author  : BrandonGT
# @FileName: 5_10_checking_usernames.py


current_users = [
    "BrandonGT",
    "Pipi",
    "Miller",
    "Jack",
    "Brown"
]
lower_current = []
for current_user in current_users:
    lower_current.append(current_user.lower())

new_users = [
    "BrANdonGT",
    "Jack",
    "Tree",
    "Susan",
    "Sun"
]

for new_user in new_users:
    if new_user.lower() in lower_current:
        print(f"User:{new_user} has to use a new name")
    else:
        print(f"{new_user}The name is usable")